package com.yswy.theater.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yswy.theater.common.BasePojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("短剧观看记录")
@TableName(value = "theater_play_look_log")
public class TheaterPlayLookLog {
    @TableId(type = IdType.AUTO)
    private Long id;
    @ApiModelProperty("TheaterPlayId")
    private Long theaterPlayId;
    @ApiModelProperty("userId")
    private Long userId;
    @ApiModelProperty("集数")
    private Integer episodes;
    @ApiModelProperty("是否追剧")
    private Integer ifCollect;
    @ApiModelProperty("创建时间")
    private Date updateTime = new Date();

    @TableField(exist = false)
    private String playName;
    @TableField(exist = false)
    private String playMsg;
    @TableField(exist = false)
    private String playTitleUrl;
    @TableField(exist = false)
    private Integer playType;
    @TableField(exist = false)
    private Integer episodesAll;
    @TableField(exist = false)
    private Integer zyType;
    @TableField(exist = false)
    private String csjPlayId;

}
